package cn.wolfcode.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

@Getter
@Setter
@ToString
public class Teacher {
    private Long id;
    private String name;
    // 关联属性
    private List<Student> students = new ArrayList<>();
}
